<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/6/21 0021
 * Time: 15:06
 */
session_start();
if (isset($_SESSION["userinfo"])){
    print_r(json_encode(array("status"=>true,"msg"=>"已登录")));
}else{
    print_r(json_encode(array("status"=>false,"msg"=>"未登录")));
}